package File;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FileOutputStreamTest {
	public static void main(String args []) throws IOException{
		FileInputStream fis=new FileInputStream("D:/home/test.txt");
		int b=0;
		byte [] buf=new byte[1024];
		fis.read(buf);
		fis.close();
		System.out.println(new String(buf));
		
	}
}
